package com.example.cr.insect.dto;

import java.util.List;

public class ChartDataDTO {
    private List<String> months;
    private List<SeriesDTO> series;

    // getters & setters

    public List<String> getMonths() {
        return months;
    }

    public void setMonths(List<String> months) {
        this.months = months;
    }

    public List<SeriesDTO> getSeries() {
        return series;
    }

    public void setSeries(List<SeriesDTO> series) {
        this.series = series;
    }

    public static class SeriesDTO {
        private String name;
        private List<Integer> data;
        // getters & setters

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<Integer> getData() {
            return data;
        }

        public void setData(List<Integer> data) {
            this.data = data;
        }
    }
}
